package com.imti.bean;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.ToString;

/**
* 账户表
* @author T470S
* @TableName account
*/
@ToString
@ApiModel(value = "账户表")
@TableName(value = "account")
public class Account implements Serializable{

    private static final long serialVersionUID = 5607617689314249857L;

    /**
    * 
    */
    @TableId(type = IdType.AUTO)
    private Integer accId;

    /**
    * 
    */
    private String phone;
    /**
    * 
    */
    private String idCard;
    /**
    * 
    */
    private String pswd;
    /**
    * 1  医生  2 患者
            
    */
    @ApiModelProperty("1  医生  2 患者")
    private String type;
    /**
    * 0 
    */
    @ApiModelProperty("0")
    private String state;
    /**
    * 
    */
    private Date createTime;
    /**
    * 
    */
    private Integer accCreateId;

    public Integer getAccId() {
        return accId;
    }

    public void setAccId(Integer accId) {
        this.accId = accId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getPswd() {
        return pswd;
    }

    public void setPswd(String pswd) {
        this.pswd = pswd;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getAccCreateId() {
        return accCreateId;
    }

    public void setAccCreateId(Integer accCreateId) {
        this.accCreateId = accCreateId;
    }
}
